@extends('store::layout')
@section('content')
    <div class="row mb-5"><div class="col-sm-12">
            @component('store::component.form.form')
                @slot('action') {{route('Store_updateInfo')}} @endslot
                @slot('formId') goods @endslot
                @component('store::component.form.form-group')
                    @slot('title') 店铺名称 @endslot
                    @slot('is_must') true @endslot
                    @component('store::component.form.input')
                        @slot('name') store_name @endslot
                        @slot('value') {{$info->store_name ?? ''}} @endslot
                    @endcomponent
                @endcomponent
                @component('store::component.form.form-group')
                    @slot('title') 店铺标题 @endslot
                    @slot('is_must') true @endslot
                    @component('store::component.form.input')
                        @slot('name') store_title @endslot
                        @slot('value') {{$info->store_title ?? ''}} @endslot
                    @endcomponent
                @endcomponent

                @component('store::component.form.form-group')
                    @slot('title') 店铺图像  @endslot
                    @component('store::component.upload.upload_img')
                        @slot('name') store_avatar @endslot
                        @slot('group') store @endslot
                        @slot('img_num') 1 @endslot
                        @slot('value') {{$info->store_avatar ?? ''}} @endslot
                    @endcomponent
                @endcomponent

                @component('store::component.form.form-group')
                    @slot('title') 店铺logo  @endslot
                        @component('store::component.upload.upload_img')
                        @slot('name') store_logo @endslot
                        @slot('group') store @endslot
                        @slot('img_num') 1 @endslot
                        @slot('value') {{$info->store_logo ?? ''}} @endslot
                    @endcomponent
                @endcomponent


                @component('store::component.form.form-group')
                    @slot('title') 关键词 @endslot
                    @component('store::component.form.textarea')
                        @slot('name') keywords @endslot
                        @slot('row') 2 @endslot
                        @slot('value') {{$info->keywords??''}} @endslot
                    @endcomponent
                    @slot('remark') 商品关键词请用逗号分隔；有两个功能，一是可以作为站内关键词查询，在前台搜索框输入关键词后，能够搜索到该商品；二是作为搜索引擎收录使用. @endslot
                @endcomponent

                @component('store::component.form.form-group')
                    @slot('title') 店铺描述 @endslot
                    @component('store::component.form.textarea')
                        @slot('name') store_description @endslot
                        @slot('row') 2 @endslot
                        @slot('value') {{$info->store_description??''}} @endslot
                    @endcomponent
                @endcomponent
                @component('store::component.form.form-group')
                    @slot('class') text-left m-b-0 @endslot
                    @component('store::component.form.button')
                        @slot('title')确定@endslot
                        @slot('size') md @endslot
                        @slot('color') danger @endslot
                        @slot('params') {"formId":"#goods"} @endslot
                        @slot('class')ajax-form @endslot
                    @endcomponent
                    @component('store::component.form.button')
                        @slot('title') 重置 @endslot
                        @slot('size') md @endslot
                        @slot('color') primary @endslot
                    @endcomponent
                @endcomponent
            @endcomponent
    </div></div>
@endsection
@include('store::component.upload.upload_js')